var sign = require('./sign.js');
exports.controllerList = function(req,res){
	sign.dataReq(req,req.session.token,sign.pageData(req.body),'controller/controllerList','post',function(ResData){
		if(ResData!=''){
			res.send(ResData);
		}
	})
}
exports.addController = function(req,res){
	sign.dataReq(req,req.session.token,req.body,'controller/addController','post',function(ResData){
		if(ResData!=''){
			res.send(ResData);
		}
	})
}
exports.forbidden = function(req,res){
	sign.dataReq(req,req.session.token,req.body,'controller/forbidden','post',function(ResData){
		if(ResData!=''){
			res.send(ResData);
		}
	})
}
exports.EditController = function(req,res){
	sign.dataReq(req,req.session.token,req.body,'controller/EditController','post',function(ResData){
		if(ResData!=''){
			res.send(ResData);
		}
	})
}